<div style="padding:0px;height:32px;margin:2px;">
	<div style="float:right;line-height:32px;">
		第${pager.footer.pageIndex}页，共#{pager.footer.totalPage}页，每页#{pager.footer.pageSize}条，总记录
		#{pager.footer.count}条 </div>
	<ul class="pagination pagination-sm" style="margin:0;padding:0;float:left;">
		<#if pager.footer.hasPre>
		<li><a href="javascript:goPager(${pager.footer.pageIndex-1});">&laquo;</a></li>
		<#else>
		<li class="disabled"><a href="#">&laquo;</a></li> 
		</#if> 
		
		<#if pager.footer.start<=pager.footer.end >
		<#list pager.footer.start..pager.footer.end as i> 
			<#if pager.footer.pageIndex==i>
		<li class="active"><a href="#">${i}</a></li>
			<#else>
		<li><a href="javascript:goPager(${i});">${i}</a></li>
			</#if> 
		</#list> 
		</#if>
		
		<#if pager.footer.hasNext>
		<li><a href="javascript:goPager(${pager.footer.pageIndex+1});">&raquo;</a></li>
		<#else>
		<li class="disabled"><a href="#">&raquo;</a></li> 
		</#if>
	</ul>
</div>
<script type="text/javascript">
function goPager(pageIndex){
	//获取查询参数数据
	var searchDiv = $.CurrentNavtab.find('.searchForm');
	if(searchDiv==undefined){
		$(this).alertmsg("info", "未定义class=searchForm表单");
	}
	var pageSize = $("#pageSize").val();
	if(pageSize==undefined){pageSize=20;}
	var data = {pageIndex:pageIndex,pageSize:pageSize};
	//获取input对象
	searchDiv.find("input").each(function(i,e){
		data[$(e).attr("name")]=$(e).val();
	});
	//获取select对象值
	searchDiv.find("select").each(function(i,e){
		data[$(e).attr("name")]=$(e).val();
	});
	//alert(JSON.stringify(data));
	reloadURL(data);
}
</script>